﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="AddCar.aspx.cs" Inherits="Admin_AddCar" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<h1>
Add Car
</h1>
<br />
<table>
<tr>
<td>Brand:</td>
<td><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
       ControlToValidate="TextBox1" ErrorMessage="Enter Brand"></asp:RequiredFieldValidator>
    </td>
</tr>
<tr>
    
<td>Make:</td>
<td><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
       ControlToValidate="TextBox2" ErrorMessage="Enter Make"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td>Color:</td>
<td><asp:TextBox ID="TextBox3" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
       ControlToValidate="TextBox3" ErrorMessage="Enter Color"></asp:RequiredFieldValidator>
       </td>
</tr>
<tr>
<td>Speed (mph):</td>
<td><asp:TextBox ID="TextBox4" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
       ControlToValidate="TextBox4" ErrorMessage="Enter Speed (mph)"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td>Plate No:</td>
<td><asp:TextBox ID="TextBox5" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
       ControlToValidate="TextBox5" ErrorMessage="Enter Plate No."></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td>Tariff:</td>
<td><asp:TextBox ID="TextBox6" runat="server"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
       ControlToValidate="TextBox6" ErrorMessage="Enter Tariff"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td></td>
<td><asp:Button ID="Button1" runat="server" Text="Add" onclick="Button1_Click" /> &nbsp;<asp:Button ID="Button2" runat="server" Text="Cancel" /></td>
</tr>


</table>
</asp:Content>

